<?php

class Application_View_Helper_IsAllowed extends Zend_View_Helper_Abstract
{
    /**
     * @param mixed $resource
     * @param mixed $privilege
     */
    public function isAllowed($resource, $privilege)
    {
        return Application_Acl::getInstance()
                   ->isAllowed($resource, $privilege);
    }
}